package com.flash.variety.domain;

import java.math.BigDecimal;
import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.springframework.data.annotation.Transient;

/**
 * 菜品对象 tb_cuisine
 * 
 * @author ruoyi
 * @date 2023-01-06
 */
public class TbCuisine extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 菜品id */
    private Integer cuisineId;

    /** 菜品名称 */
    @Excel(name = "菜品名称")
    private String cuisineName;

    /** 菜品描述 */
    @Excel(name = "菜品描述")
    private String cuisineDescribe;

    /** 菜品金额 */
    @Excel(name = "菜品金额")
    private BigDecimal cuisineMoney;

    /** 菜品图片 */
    @Excel(name = "菜品图片")
    private String cuisineImage;

    /** 菜品类型 */
    @Excel(name = "菜品类型")
    private Integer cuisineType;

    /** 商户id */
    @Excel(name = "商户id")
    private Integer commercialId;

    private Date updatedate;

    @Transient
    private Integer preferentialId;

    public void setCuisineId(Integer cuisineId)
    {
        this.cuisineId = cuisineId;
    }

    public Integer getCuisineId()
    {
        return cuisineId;
    }
    public void setCuisineName(String cuisineName) 
    {
        this.cuisineName = cuisineName;
    }

    public String getCuisineName() 
    {
        return cuisineName;
    }
    public void setCuisineDescribe(String cuisineDescribe) 
    {
        this.cuisineDescribe = cuisineDescribe;
    }

    public String getCuisineDescribe() 
    {
        return cuisineDescribe;
    }
    public void setCuisineMoney(BigDecimal cuisineMoney) 
    {
        this.cuisineMoney = cuisineMoney;
    }

    public BigDecimal getCuisineMoney() 
    {
        return cuisineMoney;
    }
    public void setCuisineImage(String cuisineImage) 
    {
        this.cuisineImage = cuisineImage;
    }

    public String getCuisineImage()
    {
        return cuisineImage;
    }
    public void setCuisineType(Integer cuisineType)
    {
        this.cuisineType = cuisineType;
    }

    public Integer getCuisineType()
    {
        return cuisineType;
    }

    public Integer getCommercialId() {
        return commercialId;
    }

    public void setCommercialId(Integer commercialId) {
        this.commercialId = commercialId;
    }

    public Date getUpdatedate() {
        return updatedate;
    }

    public void setUpdatedate(Date updatedate) {
        this.updatedate = updatedate;
    }

    public Integer getPreferentialId() {
        return preferentialId;
    }

    public void setPreferentialId(Integer preferentialId) {
        this.preferentialId = preferentialId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cuisineId", getCuisineId())
            .append("cuisineName", getCuisineName())
            .append("cuisineDescribe", getCuisineDescribe())
            .append("cuisineMoney", getCuisineMoney())
            .append("cuisineImage", getCuisineImage())
            .append("cuisineType", getCuisineType())
            .append("commercialId", getCommercialId())
            .toString();
    }
    
}
